tab = [ [" " ," " ," " ],[" " ," " ," " ],[" " ," " ," " ] ]
def screan():
 
    print """
        A   B   C
    -----------------
    1| %s | %s | %s |
    -----------------
    2| %s | %s | %s |
    -----------------
    3| %s | %s | %s |
    -----------------""" % (tab[0][0],tab[0][1],tab[0][2],tab[1][0],tab[1][1],tab[1][2],tab[2][0],tab[2][1],tab[2][2])
     
def value():


    row = raw_input('Enter row (numbers betwen 1 to 3):')
    column_a = raw_input("Enter column (A B or C):")


    if not row.isdigit():
        print "PLZ use digits"

    if not (row >= 0 or row <= 4):
        print "plz use digits betwen 1 to 3"

    if not column_a in ('a','b','c','A','B','C'):
        print "PLZ use A B or C"
    tab[0][0] == 'test'
    print tab[0][0]

print screan()

print value()
